#ifndef SPI_H__
#define SPI_H__

#ifdef __cplusplus
extern "c"{
#endif


void spi_write(unsigned char data);
unsigned char spi_read(void);
unsigned int wq25p16_read_jedec_id(void);
unsigned char spi_write_read(unsigned char write_data);

#ifdef __cplusplus
}
#endif

#endif


